﻿using Google.Protobuf;
using System.Threading.Tasks;

namespace Cemit.PolyServer
{
    [System.Obsolete("直接使用PolyServer")]
    public interface IPolyServer
    {
        /// <summary>已登录Players</summary>
        Players Players { get; }

        void RemoveSocket(System.Net.Sockets.Socket socket);
        void Send(ClientState state, IMessage message);
        void Start(string listenIp, int listenPort);
    }
}